#pragma once
#ifndef WAVE_H
#define WAVE_H

#include "Route.h"

class CWave
{
private:
	int enemyType;
	int numberOfEnemies;
	int timeToSpawn;
	int timeToLive;
	int timeBetweenEnemyToSpawn;
	CRoute* route;

public:
	CWave(void);
	CWave(int enemyType, int numberOfEnemies);
	~CWave(void);

	void createEnemies(void);
	void createWayPoint(CVector2D);
	void deleteWayPoint(int index);
	
	int getNumberOfEnemies(void)const;
	int getEnemyType(void)const;
	CVector2D getWayPoint(int index)const;
	int getNumberOfWayPoint(void)const;
	int getTimeToSpawn(void) const;
	int getTimeToLive(void)const;
	int getTimeBetweenEnemyToSpawn(void) const;

	void setNumberOfEnemies(int numberOfEnemies);
	void setEnemyType(int enemyType);
	void setWayPoint(int indexWayPoint, CVector2D v);
	void setNumberOfWayPoint(int numberOfWayPoint);
	void setTimeToSpawn(int timeToSpawn);
	void setTimeBetweenEnemyToSpawn(int timeBetweenEnemyToSpawn);
	void setTimeToLive(int timeToLive);

};
#endif